package com.example.xf.repository;

import com.example.xf.domian.News;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.io.Serializable;
@RepositoryRestResource(path = "news")
public interface NewsRepository extends JpaRepository<News,Long> {
}
